import React, { Component } from 'react'

export default class Form extends Component {
    constructor(){
        super()
        this.state = {
            value:"123"
        }
    }
    handleChange = (e)=>{
        this.setState({
            value:e.target.value
        })
    }
    render() {
      
        return (
            <div>
                <input value={this.state.value} onChange = {this.handleChange}/>
            </div>
        )
    }
}
